import React, { Component } from 'react'
import Banner from 'containers/banner'
// import axios from 'axios'
import { get } from 'common/js/ajax'
import Styles from './index.less'

export default class MembershipRights extends Component {
  render() {
    return (
      <div className={Styles.member}>
        <Banner backgroundImg="https://img.alicdn.com/tfs/TB1tyvWnHZnBKNjSZFKXXcGOVXa-1440-640.png">
          <h1>ICA联盟成员</h1>
          <p>为了联合物联网智慧家庭、智慧城市、智慧工业等产业成员，共同完善建设面向物联网的产业生态体系，阿里巴巴联合物联网产业合作伙伴，共同成立IoT合作伙伴计划联盟（IoT Connectivity Alliance）.</p>
        </Banner>
      </div>
    )
  }
  async componentDidMount() {
    let test = await get('/api/test', {name: 'xia'})
    // axios.get('/api/test').then((res) => {console.log(res)})
    console.log(test)
  }
}
